package com.example.konwRice.index.Bean;


import java.io.Serializable;

public class NewsBean implements Serializable {
    private String title;
    private String time;
    private String url;
    private String imageUrl;
    private String type;
    private int flag;

    public NewsBean( ) {
        this.flag = 0;
    }
    public NewsBean(String title, String time, String url, String imageUrl) {
        this.title = title;
        this.time = time;
        this.url = url;
        this.imageUrl = imageUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
    public void setType(String type) {
        this.type = type;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getType() {
        return type;
    }

    public int getFlag() {
        return flag;
    }
}

